package com.upcode.weighing.vo.req.org;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper=false)
@ApiModel(value = "组织机构分页查询Vo",description = "组织机构分页查询Vo")
public class OrgPageReqVo implements Serializable {

    @ApiModelProperty(value = "机构父级编码")
    private String orgParentCode;

    @ApiModelProperty(value = "机构名称")
    private String orgName;

    @ApiModelProperty(value = "机构所在地-省编码")
    private String provinceId;

    @ApiModelProperty(value = "机构所在地-市编码")
    private String cityId;

    @ApiModelProperty(value = "机构所在地-区编码")
    private String areaId;

    @ApiModelProperty(value = "机构类型 1机构 2部门 3岗位")
    private String orgType;

    @ApiModelProperty(value = "机构状态 0已禁用  1开启")
    private String isForbidden;

    @ApiModelProperty(value = "选中ids")
    private List<Long> orgIds;

    @ApiModelProperty(value = "选中ids", hidden = true)
    private List<String> areaIds;

    @ApiModelProperty(value = "查询类型 分页:PAGE, 列表:LIST", hidden = true)
    private String queryType;
}
